* fix bug: file.recurse state shoud treat source as dir
* 2 cents optimization: evaluate srcpath one time
Merge pull request #3773 from giantlock/develop

fix file.recurse state bug