GNU echo doesn't interpret backslahes by default
Fixed missing Exception and pep8 fixes

FileNotFoundError was introduced in python3.3,
so can't be used with python2.7
Unlink password file when the gpg bin isn't found