Use Emacs and it will change your tabs into spaces for you. Duh.