handle dead symlink without crashing
Merge pull request #2 from douglasmiller/error_detection

handle dead symlink without crashing