Added support for dmg files