Catch bad path in machineProfile()

- Fixes hangup when stream fails to open due to bad path