fix off-by-one listdir error
fix off-by-one listdir error

iychoi/syndicate-core,iychoi/syndicate-core,iychoi/syndicate-core,syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,iychoi/syndicate-core,syndicate-storage/syndicate-core