chmod doesn't throw exceptions

even on systems that don't support it, as windows