Mark std.stdio.File.~this and detach as @safe

They do not contain any unsafe operations and do not call any system functions.