fix misc pep8 and other minor errors found by pycharm code inspection
fix storage exception handling - do not continue if we have an exception, rather re-raise, add missing errno import
fix imports