Moving fstatfs logic into sys.c. Fixing a misspelling in IO.chpl (numIndicies ->
numindices).