[BUGFIX] PHP warning while copying symbolic link

Caused by sphinx-contrib module "whooshindex".

Change-Id: I0bd275f6347711f0d9eb3766a6e1d02f5abaca59
Reviewed-on: https://review.typo3.org/26653
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers