fix lots of spelling

fix some errors from the sed script

undo file mode crap