Add _deleteEmptyFile method to BakeTask