'True Detective' writer accused of plagiarism