Added replace function to the file module
Added deprecated notices to all the sed functions
Merge pull request #7369 from whiteinge/file-search-replace

File search replace