fix typos in variable names for xz compression
fix another typo in xz compression code
scope SUFFIX variable correctly
add support for encrypting output files (issue #2)