tar.py: fix permissions in tarballs

the code was confusing & and | and thus making everything executable.

Fixes #1459
1 file changed