fixed RAMDirectory SingleInstance LockFactory bug