cleaned up whitespace

There was a mix of tabs and spaces in these files. I replaced them all with spaces to make indentation clearer regardless of anyone's editor tab settings.

I wouldn't normally submit a tabs vs. spaces PR, but these files used both tabs and spaces. I thought it would be useful to be consistent, regardless of which one was preferred. If you'd rather them all be tabs, I can change it.