Allow exotic filenames.

Fixes issue #9
Merge pull request #10 from xim/master

Allow exotic filenames.