Add target param to staging resources

Setting the resource title to a path is not sufficient to ensure
that the file will be created at that location. Set the target
parameter.