Fixed a null pointer exception in transferCharacterizationResultsFiles()