extract_features.cpp bug fix. the orignal version cause the tool to write the same data to every DB when extracting from multiple blobs.