Bug 920250 - make profile.sh handle process names with spaces and other weird characters