Chmod the seded file back to being executable.
Do permissions changes in a nicer way for sed_i.
Merge pull request #92 from JamesBromberger/python

sed_i preserves permissions now