Replace fdopen by conversion to CFILE

So it works with your recent commit to julia-lang :)