Expands ~ in emulator locations