fs: Make write(2) interruptible by a fatal signal