WIP: Backfiller tool improvements

This is a cleanup+improvement PR for the backfiller tool. Current list of changes:

1. Refactor build store to reduce the number of iterations for parsing, out of range errors
2. Add metrics for parsing failures