Replace unnecessary file status operation, which can fails with FileNotFound in S3 FS due to S3  eventual consistency, with bytes written counter.