Fix cleanupAppState

* wrap the path to sim in quotes for find