store_msg function

Store joyn message to .joynenv environment