Updates the ouput target file's name attribute

* The target node of the output file has been populated with the name of
  the first source target, which is inappropriate.

* Takes the name of the output file, strips its suffix and sets the value
  to be the new name of the target.