extract_strings_from_*: Set executable bits
More precise error reports when loading ground tile sets

ValueError was chosen because the argument type matches what we expect,
but its value still causes trouble.
Line length

Also saves a few attribute lookups, not like it matters here.