Started on basic archive functionality
Added fwrite functions for integers
Added fwrite function for bundle
Correct size checks, archiving seems to work
Enforce 4 byte alignment, lzma options, added quick fix for lzma not writing part of its header correctly