promisify: use promisif instead of callback

Motivation
The following code is using a callback function with two arguments :
- the first is passed on an error
- the second on success.
This code is working, but the callback function makes it a bit hard to understand. Also, what if you want to return the buffer to the caller?

What is promisify
promisify is a function of the core node module utils.
promisify solve the above issues as follows :
promisify accept a callback function (err, value) as an argument and return a promise. This promise can be used in an elegant and easy to understand way with async\await as follows

Conclusion
I strongly recommend using promise\promisify instead of (err, value) callback function, because it makes the code easy to understand and easy for unit tests.
The only exception to this recommendation is when you can use fs.promises
the code is here