Fix exception when playing from filename with no extension