rewrite FFI declarations
rewrite adapters
add mtime property to ArchiveEntry