Add umask on save state to prevent permission denied error