fixed a memory leak in Texture::saveImToFile