Get root name of file name. That is, return a mem_strdup()'d version of the filename without the .ext.
See Implementation
Get root name of file name. That is, return a mem_strdup()'d version of the filename without the .ext.