_blank? is not working properly for IO objects