albumartcache: Don't close non-existing stream on error
When a file fails to open, the stream variable is not assigned and we jump to the exception handling code, which tries to close the stream that hadn't even open. This segfaults immediately. Fix that by not trying to close the stream if it had an error.