Lukasz Piszczek has agreed a contract extension with Borussia Dortmund, committing himself to the Bundesliga club until June 2020.