Solaris changes for std.file and std.socket.

std.file: Add implementation for `thisExePath()`, fix `struct DirEntry`
std.socket: Add implementation for `formatSocketError()`