Replace instead of extend overriden objects under files[type] such as joinTo

Closes gh-693