Fixed bug that prevented writing of output file

Fixed bug that prevented writing of output file due to path of coverage
library