urlencode filenames (so that spaces and cyrillic stuff would work)