Change writing to RAF archives

When a new file is created in an archive the space for that new file is
preallocated. This makes it easier to write to multiple files at once,
which is now supported fully.