Add IO->FILE* for interfacing with C functions
Merge pull request #5053 from timholy/fdopen

Add IO->FILE* for interfacing with C functions