winsane: Fixed inconsistent line-endings
strutil: Improved reliability of resource functions