backend: add handler for logging into file in hitcounter scripts
When configuring `filename` and `format` via `logging.basicConfig`,
they are set just once. That is a problem, because we import from
`copr_log_hitcounter.py` which is where they were set, and then
changing those values in `copr-aws-s3-hitcounter` wouldn't work.