Fix FILE typemap (compatibility with C89)