Allow remote urls and readable resources
Inflated files:
 - to prevent double download we need to save the file locally.
 - php://temp + stream_filter_append seems to be unusable.
 - stream_filter_append zlib.deflate prevents us from seeking, hence the blocking write.