Patch in index chunks for known files

This is a stopgap to give us a speedup for known files until we implement an A/V store in the DB.

Fixes #131 
Might be clearer to have these in a variable, this was a little awkward to read. Not a big deal though.