fix escaping of /f/ file URLs