Add -O (write downloaded files to stdout), based on patch from