- bugfix template resource of inheritance blocks could get invalid if th...

...e default resource type is not 'file'(Issue 202)