Fixed deprecations for Elixir 0.12.2

  - Changed __FILE__ to __ENV__.file
  - Changed ->/2     to send/2