ExportTracksToXML: handle files with no extension

If the file has no extension, rather than throwing
StringIndexOutOfBoundsException, let's handle it defensively.