Nonlocal games, distributed storage, and quantum error correction : excursions in fault-tolerant computation