change LocalFileDataSource length method impl. so that it always reads the current file length
   This is required in case the file associated to the data source is progressively written on disk
   (e.g., when implementing a cache)