write.c: correctly handle no existing blob table during overwrite