Fixes #3. Typo
Fixes #5. Title attribute now set. Chrome at least uses this for filename