fix Issue 11789 - No setAttributes to complement getAttributes

[Issue 11789](https://d.puremagic.com/issues/show_bug.cgi?id=11789)
Revert "fix Issue 11789 - No setAttributes to complement getAttributes"

This reverts commit c124140e09d7acaa6cd6d4a4d677adf68fc08c55.
fix Issue 11789 - No setAttributes to complement getAttributes

- add std.file.setAttributes

[Issue 11789](https://d.puremagic.com/issues/show_bug.cgi?id=11789)