Fixed writing crc'd chunks to png