Fix bug in _parse_key

According to the documentation, we should have double backslashes between the path segments in the key, however _parse_key split and joined on a single backslash which caused the resulting path to start and end with a backslash.