[#213] Fix async issues with fileUtils.

- Added WP support by solving the race condition.