Pathname#write available since 2.1.0
Add pending spec to not forget
Move build_dir declaration to upper level
Make sure build and extract_dir exists
Add spec for Package#extract_onto!(path)