Fix issue when handling filenames containing unicode characters when not renaming, add tests