Improve .dmg file parsing regex