binject: check for error in fcntl() restore of flags