Command line tool that safely replaces a file after running it through a filter.