fixed Error, function to store LocalStorage to local HDD