Extends core File class with File.editlines to edit lines of a file in place