Update ofUtils.cpp

Changed while loop in ofSystem as suggested by arturoc to prevent EOF being read into the return string.