Creates an AWSFile from io File.
AWSFilePlatform.fromFile(File file, {super.contentType}) : _stream = null, _inputFile = file, _size = null, super.protected();