Parent rewriter for file history, closes #2452

Emulates git's missing --parent rewriting with --follow for files with multiple names in history.
Issue adnd Transifex stats added
Read async the stdout and stderr of a process while providing input data to it. Closes #1643.
Merge branch 'release/2.48'
Merge pull request #2512 from qgppl/gp/fix-2452

Parent rewriter for file history, closes #2452