Fixed tmp file system's usage counter not being properly reset when closed and not being recomputed on load, closes #471.