Great. sed -i behaves differently on OS X and Linux