Fix progress report in DBUpdate-Script

without autoflushing, the output only appears on the terminal
after a newline is printed, so we only learn after a step what took so long.
Fixed: FAQ module Language files installation fails (Kernel/Language permissions) (bug#8969).
Fixed: RPM upgrade breaks permissions on config files (bug#10048).
Follow-up fix for bug#10048: specify shell explicitly.
Fixed: Missing quoting in State::StateGetStatesByType() (bug#10158).