Fix: Check whether file is actually a FIFO