Added missing $filename reference if $wkhtml_filename is given.