Fixed two bugs:

- Wrong FS command which caused the output to behave strangely sometimes.
- Wrong escaping of grep's parameters