Refactor: libcrmcommon: Simplify read_local_file()
Don't reinvent the wheel.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>