[archive] Add padding to blocks in archive.

This is needed to mmap the archive dirctly to memory and adress files by
offsets.
[rtree] Use mmap insteaf of a file handle.

seek + read is not atomic and thus not thread-safe. mmap are faster and
reads are always thread-safe.