<t:inputFileUpload> troca o nome do arquivo

Boa tarde pessoal estou utilizando o componente <t:inputFileUpload> para realizar o upload de imagens para minha aplicação, mas quando o mesmo é armazenado o nome do arquivo e a extensão está sendo trocada para xxxx.tmp

	public String processaLogotipo () {
		try {
			File file = new File(arquivoLogotipo.getName());
			BufferedInputStream bufferedInputStream = new BufferedInputStream(this.arquivoLogotipo.getInputStream());
			FileOutputStream fileOutputStream = new FileOutputStream(file);
			// Salvando o arquivo
			try {
				byte[] buffer = new byte[1024];
				int count;
				while ((count = bufferedInputStream.read(buffer)) &gt 0)
					fileOutputStream.write(buffer, 0, count);
			} finally {
				bufferedInputStream.close();
				fileOutputStream.close();
			}
		} catch (IOException exception) {
			exception.printStackTrace();
		}				
		
		return &quot;ok&quot;;
	}
&lt;t:inputFileUpload  accept="image/*"  
                              value="#{Usuario.arquivoLogotipo}" 
                           storage="file" 
                          required="true"/&gt;

Opa! Beleza!
Cara seguinte não sei se vai resolver mas voce poderia fazer o seguinte:
String nome = arquivoLogotipo.getName().substring(0, arquivoLogotipo.getName().length() - 4 );
String extencao = “jpg”; //extencao que quiser
File file = new File(nome +"."+ extencao );

não testei talvez precise de alguns ajustes mas tenta ai!