Update filesafe.js