Fix for Linux/Mac support of massfindandreplace.sh