pub fn create_dmg(
    dir: &Path,
    dmg: &Path,
    volume_label: &str,
    total_sectors: u32
) -> Result<()>