Add-Persistence bugfix

When file paths were specified, they were not being properly validated.