Pass format through various routines so html plotting works with PETSc
output.
Merge pull request #26 from ketch/master

Pass format argument so that html plotting works with PETSc output files.