Fix finding beam to search for beam file

Work around elixir bug where source path is given to :code server
instead of beam path causing :code.which/1 to return the source file.