Here use Piwik_Common::isValidFilename() and throw exception if not valid filename asked
so you dont need str_replace below