I guess the -i option to sed works differently on Linux and MacOS