Squish: Fix createTasksFile()

Change-Id: I437d9e59723556363e233e939032630246981874
Reviewed-by: Christian Stenger <christian.stenger@digia.com>