be more careful with encoding filenames. Fixes .xdelta --roman