Changing Popen calls...

Signed-off-by: Adam Dybbroe <adam.dybbroe@smhi.se>