Make application name safe for symfony1.