rapid7/metasploit-framework — pull request #1932 by Ruslaideemin (2013-06-09 23:32:08+00:00)
Title: Fix ms10_004_textbyteatoms.rb

ms10_004_textbytesatom.rb does not write to the local data directory,
instead it writes to the metasploit path (at least, that's where I
started msfrpcd).

This fixes it by using Msf::Config.local_directory