Encourage people to close File objects

I think leaving a IO stream open might cause issues when I'm trying to
upload a file.