Stats begin to work

Alas, you can't get the scheduler id from a NIF. For now randomizing
which file stats object to use. Will add mapping of thread id to fstats
object with a r/w lock instead.
Fix one eunit test, related to new iterators

A bunch of eunit tests pass now that folding works again. Folding relies
on file stats, which were just re-added.