fix template extractor on mac
sort warnings in extractor by filename