Nested output: Finished netcdf header, some fixes for ascii