Fix #12 - LocalStorage writes to a temp file. Add 'abort_upload' handler.