preserve transparency in png files

fixes http://manage.dimagi.com/default.asp?118039