Don't swallow exceptions on file not found, unless in interactive mode.

Clean up miscellaneous issues found by pylint.
Merge pull request #38 from ketch/dont_swallow_exceptions

Don't swallow exceptions on file not found, unless in interactive mode.