Oh crap, I didn't realize the database wasn't a single file. Sorry for the noise. (But embedding libtar and a tar file is an option, I suppose.) Also, there's a person on Twitter running into this same issue.