Must be that everyone who's played Mario games and directed his ass along the pipes have made the pipes shiny and polished over time.
As for where the dirt and grime has gone considering he's always clean... supposedly there must be water inside! Or perhaps the piranha plants had a feast.