mkdir command needs to be synchronous to ensure it is created before writing the file. NOW ci should pass