more fixes for non regular file handles in posix fd input