add image/png writemime

Fixes #27.