Fix automatic generation of results file

Signed-off-by: anton <haglundanton+github@gmail.com>