Covering partially directed graphs with directed paths