Added try/except block to catch unexistent dirs

shots.py would try to open nonexistent directories, which causes
OSErrors and crashing. This should fix that.
Merge pull request #1 from futuro/master

Added try/except block to catch unexistent dirs