wrapped thumbnail creation in try block to account for bad files