Added pthread_rwlock_t to struct file_entry

Signed-off-by: Hongyi Jia <Hongyi.Jia.GR@dartmouth.edu>