Handle white space in path name
Correct printf format specifiers for size_t arguments