Patches for Check file for existence or age [sf#1052482] [#577]