Escaping file input path when parsing for metadata

Fix so paths with characters like spaces are parsed correctly for crucial metadata (like video size and aspect ratio) and don't default to zero.