fix png stream load/save