Finish filesystem tests, fix a few missing import bugs in filesystem.py
Move some things out of utils/__init__.py, write filesystem tests, fix imports