Imported safeSave.js

imported from ae-yoda
version=6
modificationDate=1368267561365
api=v2