Fix bug uncovered by ceylon/ceylon-js#174
Make sure the publish task overwrites its files