BUG: possible fsync error when filno is negative (GH5999)
Merge pull request #6004 from jreback/pytables_fsync

BUG: possible fsync error when filno is negative (GH5999)