Make sure that fd 0 is open