Fix error in rawdreeg()

rawdreeg function uses date.today() and datetime was not imported. This caused a runtime error.