Backport fastparquet 0.7 compat (PR #42954 and #42919)
- [ ] xref #42954 and #42919
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry

**This is a non-trivial backport. Please first review changed files before merging. Thanks**
