My male did the same thing once, and it turned out he had mites!
Yuck...nasty little buggers. You might try cleaning the cage out well with a small part bleach to water solution, and getting a mite spray for your snake. Make sure you do a bit of research on which brand to use....some are better than others.
As for my snake...I was unfortunetly at school at the time and the petstores did not sell any "mite killer". I looked online and found a solution using vegetable oil (supposedly suffocates the mites). I covered most of my snake in a thin layer of oil and let him sit in my hands for about 15 minutes (I was concerned about the oil getting in his eyes and nose so I avoided covering his head with oil). I than bathed him in lukewarm water. I made sure all of the oil was gone and put him back in his freshly cleaned enclosure. I took all of the wood out and put cardboard in its place for the time being (again I was in hicksville I had few resources until I went home to the city on the weekend lol). This is a very unconventional method, but my snake had been submerged in water for 2 weeks straight and I talked to the vet who I worked with about my situation and we both agreed it was worth a try. A year later I've had no reoccurence of the mites...and the only time Cosi is in the water bowl is to get a quick drink!
-----
*Amy*
0.1 Green Iguana (yes, I have a lizard in my bathroom)-iggy
2.1 Ball Pythons (normal)-cosi, jake, and frosty mcfry
0.1 B.smithi (mexican redknee tarantula)-athena
0.0.1 midland painted turtle-nemo
1.1 dogs-rocky and skippy
1.0 normal grey cockatiel-opie
0.0.30 betta, guppies, rosy reds, fantail goldfish, clown pleco,...