Don't use the logger from a trap context. Fixes #801.
Force locale to english for number_to_human_size in the gzip extension. Fixes #804.
Merge branch '3.0-stable'