A writeFile queue which reattempts to write after errors occur