log sndfile error code
comments
fixed path issue