[BUGFIX] Fix GeneralUtility::rmdir and usage in tests