Mailcount Segment: Escape osx gmail passwords that have special characters

Escapes passwords from the OSX keychain that would result in special characters in the shell. If your password contains characters like '*' or '&' you can end up with subtle errors in the script.