Rewriting ignore files