Add a null file type that can't be written. Fixes #258.