I had the same discharge started at 37 weeks i just had my baby on monday night, 38 and 4 . I think its just part of the beginning of your bloody show. my doctor said it was normal. sounds like your almost there!
It could be the start of your bloody show or just dried blood from your cervix. Could be from a interal exam or sex.