create the bat deployment directory, attempt to flush STDOUT synchronously during rspec run