save a sound file in local storage with filesystem api