Don't depend on GNU sed.