Revert "Secure perms on the final index and intermediate files"

This reverts commit 88a51c793cdcd0a57adfb8233bf4cb9092da7a51.