Replaced tabs with spaces, per python syntax.

Also changed the `staged` regex to byte since that seems to be what it's used for.