Fix OptiPNG not being able to overwrite existing file

Fixes #20

OptiPNG issue: https://sourceforge.net/tracker/?func=detail&aid=3607244&group_id=151404&atid=780913