skip/exclude classes with DIR or FILE

Fix travis out of #38 

Possibility to skip all classes which have a __DIR__ or __FILE__ constant in order to make the cache file portable