Fixed issue #1268 - App crash with filenames containing '..'

Improved RegExp to match out-parent-path pattern