mtbl.pyx: Added locking to write calls