removed default null character from mcmc_writer and replaced with empty string