fix Issue 11789 - No setAttributes to complement getAttributes

- add std.file.setAttributes

[Issue 11789](https://d.puremagic.com/issues/show_bug.cgi?id=11789)
Merge pull request #1804 from MartinNowak/master

add std.file.setAttributes