fixed crash when playing file from remote location (e.g. URL)