Changed read and write to GZIPStream
Merged