Ahaggar: add the file-checks to perform checks on file operations

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Ahaggar: add the file-checks header

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Ahaggar: add the file-checks.o to the makefile

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Ahaggar: add the file-warnings checks

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>