Clean up XDMF output files

Removing extra new lines through out the file. Adding a hint for the
Origin and Resolution in the comments to tell users what value
represents which axis of data (X, Y, Z)