Saving a Base64 Encoded File w/ Elixir

Just wanted to document this for future use:

{:ok, data} = Base.decode64(base64_string)
File.write("/tmp/file.gif", data, [:binary])

That's it!