Fix multiple vulnerabilities in file(1) and libmagic(3).

Security:	FreeBSD-SA-14:28.file
Security:	CVE-2014-3710, CVE-2014-8116, CVE-2014-8117
Approved by:	so
Merge branch 'releng/10.0' of https://github.com/freebsd/freebsd into releng/10.0

Conflicts:
	sys/conf/newvers.sh