Added path normalization in file addon (fixing security problem) and reorganized file tests