Look at the meta tags and see if there are two lines, one
indicating the file was created by importing from Word and one
naming the doc. Delete those and try again.
Beyond that I cannot help you. I haven't worked with command
line publishing.
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.