Factored out filesystem polling into separate module, cleaning up all fs
modules.