Use Task to yield on calls to OS.File, which returns promises, and fix up all parent callers to use Task too.