plot-bamstats: fixes in create_html and gz input