Update file and user resource 

According to serverspec/specinfra#206 and serverspec/specinfra#207 .