A few fixes and improvements
 * Added a return code lookup table
 * Now read and encode the file the way we should, one line at a time
 * Reset the input pointer at each read, as liblzma expects
 * Better finalised write logic.
 * Reads multiple files from command line, or just its own source.