Cleaner problems

When I start the cleaner it only goes to 44% and the continues to run there. I then get a message saying: error opening file for writing. How do I fix it?