Implement archive size API (metaArchiveSize).
Add a size sanity check.
Simplify the size checker function.
Merge pull request #54 from frankban/meta-archive-size

Implement archive size API (metaArchiveSize).