Added strict_files and strict_dirs attributes to the FileManager class.

This prevents files or dirs from being added to the filecache if they weren't created by the tool.