JFile::stripExt

Strips the last extension off of a file name