Replace tabs indentation with spaces indentation

Some files are obviously external libraries, I didn't touch them
Merge pull request #2021 from ldidry/fix-no-tab-indent

Replace tabs indentation with spaces indentation