Make sed edit my.cnf in-place.