Ignore hidden files and vi swap files during packaging. (do not merge)

BUG #2233458

This is integrated from eclair.
1 file changed