Allow "sed" function to work on multiple lines.

Add command line flag -0777 to make perl slurp in the entire file for processing.