If we don't have 'files', we can't have 'chunks'

PHP doesn't allow you to "skip" arguments, so files will always be
something if chunks has value.
Checking if we don't have files is therefore enough, and fixes
false-positive warning in coverity (CID-10699)
HDD: if (not false) {} else {} is not cool
Merged pull request #341