Add size method to file type

ref serverspec/specinfra#136