should use `'w-`' iirc.  This will clobber any existing file with that name.  As a rule no code should _suprisingly_ destroy data.

It would be better do have a kwarg `open_mode`

```
def hdf(..., open_mode=None):
    if open_mode is None:
        open_mode = 'w-'
```