The .bak are created when the option saveBackup: true is set. If this configuration is change to false, the backups will not be created.
More information about this parameter can be read here: https://www.algolia.com/doc/api-reference/crawler/configuration/save-backup/