Add file_mode options to fsfdw to set the umask.
Test for None before writing.
Add missing CFLAGS and LDFLAGS