Resolve join() promise on empty array. Closes #13