use of safelyPromisify as a promisifier