[backend] improve debian publishing code (whitespace, open, ...)