Bugfix for files with utf-8/unicode filename

Closes issue #12