Fixed bug in Plugin.scala

Working temporary folder for output