Fix audio tack file path search, improve error checking to avoid exceptions when opening files