OS X compatibility: add argument to sed -i