doing a urlsafe encode on b64 as a cheap way to avoid some 'bad' filenames