3823: bug fixes for arvados-bcbio-nextgen.py

Refs #3823