In the Method createFolder() of LocalDriver the GeneralUtility::mkdir()
(or mkdir_deep() for for recursive) is always called with a path like
"/path/to/htdocs//typo3temp/_processed_".
Having these double slashes results in GeneralUtility::fixPermissions()
not being able to set permissions properly.
This is because the $parentFolderIdentifier always starts with a slash
and $this->getAbsoluteBasePath ends with one.
Calling $this->getAbsolutePath() resolves this issue because it trims
the leading slash first.
Additionally, $this->getAbsolutePath() crops trailing
slashes as well if a folder is given. mkdir_deep() fails then, so the
patch checks if a folder is given and returns a path with trailing
slash in that case.