URL encode filenames