six.string_types, minor fixes
0o755 instead of 0755