support include plain file for xtemplate. Fixes #646
use node module style. Fixes #639
use node module style