flush on a file without write shouldn't write.
flush on a file without write shouldn't write.

    This caused a problem where we were trying to write to invalid
    files.

oridb/mc,8l/myrddin,oridb/mc,8l/myrddin,oridb/mc,oridb/mc