Use XML references in pic2xdmf script

Use XML references in pic2xdmf script
Implements #503