Ensure methods don't close their underlying streams as a side effect of using binaryreader/writers.