CBufferedFile: convert into a non-refcounted RAII wrapper

- it now takes over the passed file descriptor and calls fclose() in the
  destructor
- this fixes a leak in LoadExternalBlockFile(), where an exception could
  cause the file to not getting closed
- also disallow copies (like recently added for CAutoFile)
CAutoFile: update destructor to match CBufferdFile destructor

- also remove 2 explicit CAutoFile::fclose() calls in net.cpp
CBufferedFile: make nType and nVersion private
CAutoFile: make nType, nVersion and file private
(re)add explicit close function to CAutoFile and CBufferedFile