Fixed passing of arguments to wkhtmltopdf #5574