BUG: (GH4708) A zero length series written to HDF cannot be read back.

closes #4708 by spotting when the sentinel single value has been written. This was not being done for the index which resulted in a values/index length miss-match.