Added error checking for output folder on rebuild files transform