Changes file modes in ingestion workers to a

Before it was using 'w' which wasn't respected, but going forward it
should be a to ensure the HDF file is not reset.