Fix. Raise correct Magic::LibraryError in case when magic_open() fails for whatever reason.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>