Extract directory creation from getPath()
Create directory if does not exist
Changed from t.Fatalf to t.Fatal
Remove fs_test.go for now