server-php: Fixed FS bug after refactor