create extract method from defined extract script in filesystem.

Previously the extract method execute a script located at filesystem (specifically, script at `"#{node[:opsworks_agent][:current_dir]}/bin/extract #{tmpdir}/archive`). The script may not exists in local environment. This way, we can use the script in environment where `opsworks_agent` doesn't exists.