Add .gitignore to skip .pyc
Better error handling, and deal with deep paths.