pl-687: "Provide a way to set files permissions (chmod)" - test added.