Remove duplicates when replacing file paths
Merge pull request #25 from zgohr/duplicates

Remove duplicates when replacing file paths