Modify magic_ios_get_default_magic to change stored path