Made File.writeln infer @safe/@trusted/etc. Also wrapped stdout in @trusted private function so writeln (and family) free functions don't always infer @system.
Merge pull request #2233 from rbanderton/fix-writeln-inference

Fix Issue 6644 - std.stdio write/writef(ln) are not @trusted