Convert PNGAPI to use DataMover's 'with' open method.