Fix filename handling in SVM code.

Also run setMinMax before returning raster objects.