Use int64_t for offset in fs functions