Bug fixes to sweep-reads, file api disk space check is more tolerant