changed ImageStackDirectoryWriter back to writing pngs