As always, it depends on the context. Probably the 'were running' form is most natural in most contexts, but the (b) version is not grammatically incorrect, so it is probably acceptable.
If you are referring to something that someone was in the middle of doing at some point in the past, the 'were ~ing' form is usually the best choice.
This is another example of something that is difficult for us to answer without surrounding context.