filesystem: refactor: use errors.Is
instead of os.IsNotExist
#4743
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention