generic writing bp file, taking two input xml files, one for describing data space and PG space, another one for adios input xml