added isopen(io) for IOStream and IOBuffer
add isopen(::File)
fix merge conflict
Merge pull request #3871 from stevengj/isopen

added isopen(io) for IOStream, IOBuffer, and File