output: Convert paths, import LogMessage from coala
generate_function: Handle duplicates of a var in an expression