fix restore emulator settings on linux & mac