BUG: MANTIS-1104: Used QFile::encodeName() to convert filename strings instead of QString::toAscii().