This seems kinda hacky. There are other chars that make the key not a valid POSIX environment variable name; we should handle them all. Ill make a branch with some changes.