Improved sed script to leave - and _ characters in file names.