Add URI-style escaping of filename characters.