[eglib] Fix a possible memory leak.
[utils] The fallback mmap should fail if it cannot read the full contents of a file.
[runtime] Fix a few warnings in io-layer and utils.
[metadata] Fix a potential crasher.