expand filepath when downloading cookbooks and cookbook files