Security: File path accessibility check.

File path access check is added during download/update/rename/delete of file, to avoid working with files that are not within uploadDir configured.