specify file mode when creating