Support unicode paths for export. Fixes #139