Undo some memory changes with name translation.

The contents of the path array were not being stored by the hash table since it went out of scope before it was stored.

char [] != char *