t6023-merge-file: Work around non-portable sed usage