fix a require path for ext-func.rb
ignore generated files: *~ *.txt search