Get the shell-friendly (i.e. no caps, spaces...) version of a string.