HPCC-10359 Embedded Python may fail due to ^M characters in source

This was fixed in 4.2.0 but the fix was lost in 5.0.2 and 5.0.4.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #6656 from richardkchapman/python-embedded-cr

HPCC-10359 Embedded Python may fail due to ^M characters in source

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>