def prepare_local_sync_files
      FileUtils.rm_rf LOCAL_SYNC_PATH

      %w{ dir_a
          dir_b/dir_c }.each do |path|
        FileUtils.mkdir_p File.join(LOCAL_SYNC_PATH, path)
      end

      %W{ dir_a/one.file
          dir_b/two.file
          dir_b/bad\xFFfile
          dir_b/dir_c/three.file }.each do |path|
        File.open(File.join(LOCAL_SYNC_PATH, path), 'w') do |file|
          file.puts 'foo'
        end
      end
    end
def prepare_local_sync_files
      FileUtils.rm_rf LOCAL_SYNC_PATH

      %w{ dir_a
          dir_b/dir_c }.each do |path|
        FileUtils.mkdir_p File.join(LOCAL_SYNC_PATH, path)
      end

      %W{ dir_a/one.file
          dir_b/two.file
          dir_b/bad\xFFfile
          dir_b/dir_c/three.file }.each do |path|
        File.open(File.join(LOCAL_SYNC_PATH, path), 'w') do |file|
          file.puts 'foo'
        end
      end
    end
Initial Files are MD5: d3b07384d113edec49eaa6238ad5ff00

 ├── dir_a
 │   └── one.file
 └── dir_b
     ├── dir_c
     │   └── three.file
     ├── bad\xFFfile
     └── two.file