Mark unittests for std.stdio.File.error, detach and flush as safe
Merge pull request #2319 from tom-tan/safe-unittest-for-stdio-File-error-File-detach-File-flush

Mark unittests for std.stdio.File.error, detach and flush as safe