osx: add support for the new dmg output file.