Attempt to load and use compression lib, only falling back to shell if it doesn't exist.
Some whitespace changes