Fix default-directory on Mavericks.