Standardize spaces and tabs

This patch fixes some of the many variations between spaces and tabs in
the source files.