Always use unix end of line when parsing file content

Fix #1.
Because built-in resource file use \n.