hdiutil behavior in automated scripts