Encode filename in `getItemURL`