Fix pogo batch scripts
See
https://www.tango-controls.org/community/forum/post/5473/