compartmentalize writing the data portion of a CDF file

To make the writing of CDF files more uniform consolidate
the writing function.  Still needs to be added into
the conversino scripts
add the FluxTower2NetCDF script to the list