Generate random filename on save

1. Random filename generation on save
2. Modified tests to conform to filename changes
Merge pull request #49 from SeiryuZ/random-filename

Generate random filename on save