Don’t check when writing to other file.

This should fix #1.