Fix int type bugs and remove unused buf from writer
Check return values of malloc and archive_read_new
Fix error message when archive handle isnt allocated and fix cast
don't allocate content buffer if allocating archive handle failed
update changelog, tag 0.6.3