Fixed a typo in a temporary path that caused a mess in the output folder