Replace stray tabs with spaces, fix indentation

(In scandir_helper)