parser.generatePosts: wait until all posts have been written to disk before resolving