Replaced tabs where present with 4 spaces

In these files, 4 spaces and tabs were used inconsistently, leading to
different formatting in some editors (e.g, TextEdit). Made consistent.