Fix for renaming session metadir