Fixed bug that caused signatures file to be always re-created