Added backup function; if file already exists when saving, renames to .bak
Merge pull request #5 from blha303/master

Added file renaming for backup