it is bad idea to have dir "." as it depends when rspec is run and you need not to have write permissions there