elf/utils: Refactor dir_concat to use std::string, add get_real_path
python-engine: Report absolute paths