Add File::size and make File's ctor take StringRef.