Update sed fix from lfreeman for current files.py

Issue #390 sed/comment from contrib don't work on Solaris.  Fix updated.