fix bug where some files that were to be copied over to the deployment were left in a modified state.