Refactored to allow currying of single-file compression with different algorithms. Includes wrapper for zlib.deflateRaw, and working tests