Support to ignore files in the sync from upstream script.

This is useful if you want to keep a component mostly in sync, but exclude a few modified files.