genchars.pl: Use PerlIO_fileno(file), not fileno(PerlIO_file)
Handle missing definitions in Android