Fix wrong error message
Add ThreatConnect to the list of people using YARA
Improve error handling
Apply patches proposed by Hilko Bengen from Debian