[python3] run_atests: Little update and code separation of .txt file conversions
[python3] run_atests: Little update and code separation of .txt file conversions

userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3,userzimmermann/robotframework-python3