Revert "remove Port.writeFds"

This reverts commit 0508d10bd6fb5ca4a44aab2086fc3dece115473a.