FileUtil: Creation temp file logic changed(Veracode)