A C wrapper for sqlite3 database backup