In sed args, removed space after -i so that its value doesn't get
interpreted as a filename by GNU sed.