Don't use fs.promises
to prevent warnings
#2602
Merged
fs.promises
to prevent warnings
#2602