Fix local_command_line due to older vala bug. Also fix opening files with the right path