Support searching and replacing for references to previously hashed files.

Alternative solution to pull request #26 

This solution does an additional search and replace using a regex for the hash value.