Add a File::Stat class

I've put File::Stat in a separate file, because the structs are relatively large. This pull request also includes some changes Time, mostly because the Stat struct uses the TimeSpec struct, but also to clean some stuff up.