Adds get_filesystem_size

This method can be used to get the size of a filesystem in bytes, as an
int.