move download inside bash resource, this version of chef has a bug dealing with gzip