Synchronized DBuffer methods, removed specific sync blocks, fixed bugs in updating file descriptor