add strange git file magic definition, fix magic gen script
use fts to traverse file directory; lock when printing