Use toFilePathString for download file names.

Use the appropriate method to convert to base::FilePath::StringType.

Also removes unused and unneeded variables.

Change-Id: I6005e0e9b566a8bb4182005571a68d5b9da9b409
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>