bug #4606 Tracking report export as SQL dump does not work

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>