Pythonic chown/chmod