Fix issue "Cannot access protected property Filicious\Local\LocalAdapter::$basepath" in closure for copy and rename.