Added additional lcheck that filePath does not point to a directory (#2274)
Added additional lcheck that filePath does not point to a directory (#2274)


ceejatec/sync_gateway,tophatch/sync_gateway,couchbaselabs/sync_gateway,ceejatec/sync_gateway,couchbaselabs/sync_gateway,ceejatec/sync_gateway,ceejatec/sync_gateway,tophatch/sync_gateway,tophatch/sync_gateway,couchbaselabs/sync_gateway,couchbaselabs/sync_gateway,tophatch/sync_gateway