RT3479: Add UTF8 support to BIO_read_filename()