update CAutoFile destructor to match CBufferdFile destructor

- also remove 2 explicit CAutoFile::fclose() calls in net.cpp
CBufferedFile: make src protected, nType and nVersion private
CAutoFile: make nType and nVersion private