Fixed issue with storing file to config store