ISSUE #2901 writeFile is dependent on the mkdir, make it synchronous
ISSUE #2901 writeFile is dependent on the mkdir, make it synchronous

3drepo/3drepo.io,3drepo/3drepo.io,3drepo/3drepo.io,3drepo/3drepo.io,3drepo/3drepo.io,3drepo/3drepo.io