Fix openslide.open_slide() suboptimalities

open_slide() was calling can_open() before opening the slide, exactly
as the documentation says not to.  After failing to open a slide, it
was swallowing the error.