Updates for record->structs for 0.13.2

I pulled in the commits by @mgwidmann from pull request https://github.com/dynamo/dynamo/pull/223 and squashed the commits.

Also added back in the File.stat changes from 0.13.2 in a separate commit.