Added an AtomicInteger to monitor freeFiles size.

Added an AtomicInteger to track freeFiles size, so as to avoid a full scan on each ConcurrentLinkedQueue#size() call.