Clearing file if zero-length

Zero length indicates issue with retrieving thumbnail