a py2/py3 compatible way to represent octal
when unpacking archives, don't preserve permissions except execution for regular files