Convert possible relative paths to absolute paths.