TIMOB-11665 Warn only if file may be HTML.

Test is in Jira
https://jira.appcelerator.org/browse/TIMOB-11665