Put the logs in the current directory

It's nice to prefix the log with the proper job name, but that
meant that it would store them in weird places if you used /dev/sda
for the input device, for instance.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/log.c b/log.c
index 15de3c2..790d3a1 100644
--- a/log.c
+++ b/log.c
@@ -465,8 +465,9 @@
 
 void finish_log(struct thread_data *td, struct io_log *log, const char *name)
 {
-	char file_name[256];
+	char file_name[256], *p;
 
 	snprintf(file_name, 200, "%s_%s.log", td->o.name, name);
-	__finish_log(log, file_name);
+	p = basename(file_name);
+	__finish_log(log, p);
 }