Adding and reading png iTXt data with streams