added logic to detect when record path can't be created - closes #40