Fixed a bug that would cause Templates to copy an existing image into the same folder.