openshift.ks: Replace perl by sed

This is the first commit from pull request #41, rebased.