Defined in File Enforce.hpp
Checks that the provided fstream is opened and throws an exception otherwise.
stream – File stream whose openness should be enforced