Add quotation marks around cd for OSes that have spaces in appdirs.