Make sed edit file inplace