A writable file stream that creates directories as needed.