Moved some functions back to common, since they apparently are needed
for both read and write (not logically, but due to how some core ADIOS
code is laid out)