Rewrite utils.getFileContent to be async

I'd like to rewrite all IO functions to be async.  In this pull request, I started with `utils.getFileContent`.  As a result, `compareLocales` is now async too and returns a promise.