Remove not needed .metadata directories.