Fix local push to file:// URL.

Push to a local "file" URL would fail previously because the URL would be interpreted as a path.