Pure Python CDB reader/writer