sg/binject: only restore file flags if they have been set

Signed-off-by: Jens Axboe <axboe@fb.com>
4 files changed