Output file name is writeable.

Signed-off-by: Yuriy Rusinov <yrusinov@gmail.com>