Spec for #2977: Error calling IO.write to a FIFO
Fix for #2977: Error calling IO.write with a FIFO
Spec for #2977: Improve spec for IO.write on FIFO

Remove unneeded conditional
Use IO.read instead of `cat`
Merge pull request #3215 from skliew/issue#2977

Fix #2977: Error calling IO.write with a FIFO