Structprop doesn't like DOS line endings at all and barfs on the first line with an unhelpful error, e.g:
structprop.ParserError: expected '=' or '{' got ''
We should probably be able to handle this, or at the very least exit with an error message that helps track the problem down.