buffile: change potion_io_error to char*