switched to absolute_import; move SesameError
correctly flush the CLI on error
smarter handling of keyfile; universal newlines, validation & codec retrying