CB-6922: Use getFileMetadata consistently to get metadata
CB-6922: Remove unused getMetadata native code
CB-6902: Use File.lastModified rather than .lastModifiedDate