Use MemoryStream for PNG files

Last PNG fix didn't work, but using MemoryStream does (Tested on DEV servers).