lib: safe_macros: Add SAFE_FOPEN(), SAFE_FCLOSE()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>