Fix writing screenshot file
Added test for capture screenshot - test if file exists and is png file using imghdr, then delete file
Merge pull request #23 from Hellspam/develop

Fix for writing screenshot file