Add hook for adding remote url handlers
Move fetch_file() to RemoteBase