Fix: UTF-8 filenames doesn't work in Linux

This will break UTF-8 filenames in Windows, but that doesn't hurt (at
the moment).