core: store filepaths as sourcePath when available. mainly for debugging purposes.