add truncate function, use bradfitz's fork of go-sqlite3 for now for speed improvement