add formatPosixKey function

Updates https://github.com/tumblr/collins/pull/129 to handle all non-posix compliant variable names.