Made check_filesystem.py Python 2.4 compatible