fix: do not update file mode on every execution