Exchanged call to deprecated method.

Related to https://scrutinizer-ci.com/g/phpDocumentor/phpDocumentor2/inspections/9e7104ef-add3-46da-9115-6f1de5404121/issues/files/src/phpDocumentor/Plugin/Core/Twig/Extension.php?status=existing&selectedLabels[0]=11&orderField=path&order=asc
Corrected call
Exchanged call to deprecated method.

Related to https://scrutinizer-ci.com/g/phpDocumentor/phpDocumentor2/inspections/9e7104ef-add3-46da-9115-6f1de5404121/issues/files/src/phpDocumentor/Plugin/Core/Twig/Extension.php?status=existing&selectedLabels[0]=11&orderField=path&order=asc
Corrected call
Merge branch 'patch-15' of https://github.com/siad007/phpDocumentor2 into patch-15
Fixes #1196: Files cannot be copied with FileIO

The FileIO writer was altered to remove duplication and re-use library
code to reduce maintenance but a side-effect was that files could
no longer be copied.

This commit implements the solution as suggested by @marcimat and
re-enables the copying of files.
Merge pull request #1169 from siad007/patch-15

Exchanged call to deprecated method.
Merge branch 'develop' into feature/1130
#1130: Assemble Types
Merge pull request #1200 from mvriel/hotfix/1196

Fixes #1196: Files cannot be copied with FileIO
#1130: Properly render CollectionDescriptors
#1130: Fix erroneous Types
Merge branch 'develop' of github.com:phpDocumentor/phpDocumentor2 into feature/1130