Bugfix sanitising of title.

regsubst needs the 'G' argument to replace *all* occurances of
unknown characters, not just the first one.