[lib] Remove commands that do not work in Yosemite

Thanks @grumble!
[lib] Use native print dialog in Chrome on OS X

Thanks @daboe01!

Ref: mathiasbynens/dotfiles#434.