consistent indentation, using 'with' for file io
Merge branch 'fix/io-handling' of github.com:mekarpeles/P3Auth into fix/io-handling