Fix bugs related; used Chef::Provider::File instead of ::File by accident. Also, if the File.open succeeds and runs to the end, the file object is nil.
Fix bugs related; used Chef::Provider::File instead of ::File by accident.
Also, if the File.open succeeds and runs to the end, the file object is nil.

chef-cookbooks/aix,chef-cookbooks/aix,adejoux/aix,johnbellone/aix,aix-chef/aix,foobarbam/aix,aix-chef/aix,adejoux/aix,foobarbam/aix