Add option to set histogram file in CollectInsertSize.
Add testing for to_hash.