Possible solution to issue #9.

Checks to see if filename exists and if it does then renames it by appending the current time (in seconds since the epoch) to the filename (including shifting the extension along).