s3/smbd: add and use retry_open() instead of defer_open() in two places