In certain cases, IOError caused the much more general exception OSError to be unreachable. Signed-off-by: Elijah Conners <business@elijahpepe.com> Acked-by: Petr Lautrbach <plautrba@redhat.com>