Fix escript erlang examples (paths and IO buffering)