Make sure the publish task overwrites its files