Allow recursing into subdirectories and don't leave 0-size target outputs.