Fix bad string.format usage in pkg/torch/File

* .. should be ,
* wrapped className with tostring, in case it is nil
1 file changed