Can you try removing the `os.read()`s to establish feasibility? It could save us some headache in the long term (especially with the unification of read methods I mentioned).