Common method to load via URL into an OutputStream (#573)