[FixRM #8316] - Escape characters correctly

dots need to be escaped. See:
http://dev.metasploit.com/redmine/issues/8316