Gets the file length asynchronously (works on all platforms).
Future<int> lengthAsync() => _file.length();