Save metadata file under temp name then rename atomically so that the jukebox can't see a half-written file. Also improve error handling.
Save metadata file under temp name then rename atomically so that the jukebox can't see a half-written file. Also improve error handling.

tonyg/erlang-jukebox,tonyg/erlang-jukebox,tonyg/erlang-jukebox