Get file size

ref serverspec/serverspec#427