Fix VTKWriter::write for parallel use.
When VTKWriter::write is used with filenames that contain a path, then everything works fine in serial. For parallel runs the write is simply forwarded to pwrite which behaves differently. The number of processes and rank is added to the filename which fails if the filename contains a path. This patch fixes this.