cleaning up stdout output
write to tempfile first, then move it, so that main process can access reward value properly.
Merge branch 'numpyImp' of https://github.com/Greuseome/reuse into numpyImp