fix overwriting of files in vendor

@xaviershay