move the file differently for a partitioned output
depending if we are executing locally or on the cluster