extract .swiftmodule and .swiftdoc paths into new attrs