Fixed SED append command for BSD