Check for tmp and swap directories.