Check of n < 0 instead of just n != 0, as libmagic not always does what it says.

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