I don't think we want to go the pgindent route, but a simple script that takes all files, converts tabs to 4 spaces, and checks back in any changed files, would be a good idea.