allow for UTF-8 paths

ugly hack, really