We certainly shouldn't be setting the file type descriptor bits. There's literally no reason at all for handing those over.