Store temporary file with random name - patch 3
Bug fix