Remove check for file before write

Fixes #274.