Handle unrecognized long options correctly.
Add 'lfs.exists' function if lfs is loaded.