fix: MacOS returns 1 instead of 2 on ENOENT