ptsampler: update run_mcmc to incrementally output chain to file if fout set