Allow the use of buffers and None in to_hdf and read_hdf.