Add filebundle support
db: Add support for doing schema upgrades