Fix bug with segmentinfos cloning
Various FSDirectory fixes for file locking