I'm guessing this occurs b/c we're removing the path information from the key, right?  How hard would it be to not do that? This looks like a strategy for creating any directories you need using FileUtils: http://stackoverflow.com/a/12617369/2883120