Changed implementation of FileStorage#getFilePath to take in consideration internal JNI memory issues.