Fix logfile name generation.
Make str rep of Job instances more explicit.