Remove unused before/after methods; standardize not_implemented message
[Fix] Close read pipe when capturing output, per @eclubb, Earle Clubb

Prevents Errno::EMFILE:, Too many open files