NSFileManager (RFKit), add method to get files in directory.
Fix warning: format string is not a string literal (potentially insecure) [-Wformat-security]