Fix File.Stat reference for latest elixir 0.13.2.
Update __ENV__.location to __ENV__.file as it was removed.

Location has been removed from later versions of elixir.