added #include <fstream> to mcmc/util.hpp