Minor string formatting issue

__repr__ for a Task didn't clean the arguments beforehand: for example, a \n would cause formatting issues. Cleaned up self.task_id. It was enough to really mess up debugging.