use context manager for compressed files writing
towards a bruker writer
bruker writer working (but bugs remain)