fix: solve the lock due to promise returned in a promise
fix: solve the lock due to promise returned in a promise

when scanDir was called, it was returning a promise thant calls scanFiles. But scanFiles returns a promise also. Solved by awaiting the return of scanFiles call and resolving correctly the promise of scanDir.

kylefarris/clamscan