Make constructors of std.file.FileException @safe and @trusted

This pull request makes one constructor of `FileException` safe and
makes another constructor trusted in Posix systems.

I leave the case for Windows because I don't have a Windows machine for development.