Get the size of the file.
uint64_t size() const;
This function determines the size of the file, in bytes.
Thrown on failure.