Merge pull request #49 from dart-lang/catch-cwd-exception

Try to gracefully handle the cwd being deleted.