moved f.close to be within the try, as it caused unbound local error
moved f.close to be within the try, as it caused unbound local error

EarthmanT/cloudify-ansible-plugin,cdntn/cloudify-ansible-plugin,cloudify-cosmo/cloudify-ansible-plugin