There was a thread here in this forum where it turned out that the file name made by mac included a timestamp with AM/PM preceded by a narrow space character which caused some issues.
When reading your issue it reminds me about that case, so it might be worthwhile to read that thread and see their resolution of changing the time format used for screenshots.