fix parallel build of docs.json and docs-prerelease.json

- both targets wrote to the same temporary file list
Merge pull request #519 from MartinNowak/fixParallelBuild

fix parallel build of docs.json and docs-prerelease.json