fix: replace deprecated fs.R_OK with fs.constants.R_OK
#6051
+8
−8
fs.R_OK with fs.constants.R_OK
#6051