Add non-empty extension for sed

The sed commands are now compatible with both Linux and Mac.

See comments in https://github.com/travis-ci/travis-build/pull/207
Merge pull request #224 from travis-ci/ha-bug-multi-platform-sed

Add non-empty extension for sed