revert testing for segfault
fixed mac backup keyfile
tab order
overwrite instead of appending to an existing backup keyfile
ret values