Apologies, the `tmp` directory does need to be created first. Will fix this.