master: Modify rotateFiles function not to throw FS exceptions

This function shouldn't throw any exceptions, but did throw if
fs::exists() failed. This commit fixes the function and removes
try/catch blocks from callers (they are no longer needed).

Change-Id: Ie8ededeb61de677fd95786878db9dd68f3b4396d