I think your oligos file needs to be renamed to MID.oligos . Remove the txt extension completely. Then .oligos becomes the extension which is the required format.
Mothur was reading the end of file character as part of the oligos file name if there was not a blank line at the end of the file. This issue was fixed in version 1.30.0. You can upgrade to 1.30.0 or add a blank line to correct the issue.