Update makePatches to avoid creating empty patches

TODO: remove any zero-size patch and raise an alarm. Updated readme as well.