I had picked the CLI semantics for chmod(mode, path), and feel that was a mistake, so I switch it to match os.chmod(path, mode). I wanted to make this change while it's still fairly early in the library's life, before too many people were using it.
BREAKING CHANGE: chmod() arguments are changed to match os.chmod