FileStore: fix fd leak in _check_global_replay_guard

Fixes: #5766
Backport: cuttlefish
Signed-off-by: Samuel Just <sam.just@inktank.com>